<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib prefix="C" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>登陆-CAS官网</title>
		<link href="img/favicon.ico" rel="shortcut icon">
		<link rel="stylesheet" href="css/iconfont.css" />
		<link rel="stylesheet" href="css/login.css" />
		<script src="js/jquery-3.2.0.min.js"></script>
		<script src="js/login.js"></script>
	</head>

	<body>
		<div class="g-hd">
            <div class="g-nav">
                <div class="m-sitename"><a href="index.jsp">CAS协会</a></div>
                <ul class="m-nav">
                    <C:forEach items="${menulist }" var="menu">
						<C:if test="${menu.permission == 0 }">
							<li>
								<a href="${menu.url }">${menu.name }</a>
							</li>
						</C:if>
					</C:forEach>
                </ul>
                <button class="m-login"><a href="Login.jsp">登陆</a></button>
            </div>
        </div>
		<div class="g-login">
			<form>
				<div class="m-title">用户登录</div>
				<div class="m-username">
					<div><i class="icon iconfont">&#xe61e;</i></div>
					<div><input type="text" name="username" placeholder="用户名"/></div>
				</div>
				<div class="m-password">
					<div><i class="icon iconfont">&#xe615;</i></div>
					<div><input type="password" name="userpassword" placeholder="用户密码" /></div>
				</div>
				<div class="m-checkcode">
					<input type="text" name="checkcode" placeholder="验证码"/>
					<img src="CheckCode.do" id="checkcode" onclick="flushCheckCode();"/>
				</div>
				<div class="m-btn-login">
					<input type="submit" value="登陆" />
				</div>
			</form>
		</div>
	</body>

</html>